package com.bbcare.followup.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: 患者任务内容记录流水表实体
 * @author: DemonLee
 * @createTime: 2017.4.30
 * @description: 患者任务内容记录流水信息等
 * @modify:
 * 
 */

@Entity
public class PtTaskContentRd implements Serializable {
    private static final long serialVersionUID = 1L;
    // 记录id
    private String id;
    // 任务id
    private String taskId;
    // 更新时间
    private String updateTime;
    // 创建时间
    private String createTime;
    // 更新流水
    private String updateAccept;
    // 更新类型
    private String updateType;
    // 任务内容类型 0:门诊问卷 1:线上问卷 2:随访提醒 3:用药 4:随访评测 5:随访指导 6:家庭监测 7:宣教
    private String templType;
    // 患者id
    private String userId;
    // 患者实例id
    private String ptSchemeid;
    // 备注
    private String remark;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setUpdateType(String updateType) {
        this.updateType = updateType;
    }

    public String getUpdateType() {
        return updateType;
    }

    public void setTemplType(String templType) {
        this.templType = templType;
    }

    public String getTemplType() {
        return templType;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setPtSchemeid(String ptSchemeid) {
        this.ptSchemeid = ptSchemeid;
    }

    public String getPtSchemeid() {
        return ptSchemeid;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }
}
